#pragma once

#include "ArrayOfList.h"
#include <list>
#include <string>
using namespace std;

class Dictionary
{
    private:
        list<string> theActiveList;
        ArrayOfList<string> theWords;
        size_t theActiveNumber;
		string word;
    public:
        Dictionary();
        Dictionary(string aFileName);
		string getWord();
        bool readIn(string aFileName);
        bool isActive();
        bool setActive(size_t aNumber);
        bool removeAll(char aCharacter);
        bool removeAll2(char aCharacter);
        bool removeAll3(char aCharacter);
        bool removeAll4(char aCharacter);
        void deActivate();
        const list<string>& getActiveList();
		bool inThePatten(int,vector<int>);
};

